---
title: Perplexity
---

>[Perplexity](https://www.perplexity.ai/pro) is the most powerful way to search
> the internet with unlimited Pro Search, upgraded AI models, unlimited file upload,
> image generation, and API credits.
>
> You can check a [list of available models](https://docs.perplexity.ai/docs/model-cards).

## Installation and Setup

Install the Perplexity x LangChain integration package:

<CodeGroup>
```bash pip
pip install langchain-perplexity
```

```bash uv
uv add langchain-perplexity
```
</CodeGroup>

Get your API key from [here](https://docs.perplexity.ai/docs/getting-started).

## Chat models

See a variety of usage examples [here](/oss/integrations/chat/perplexity).

```python
from langchain_perplexity import ChatPerplexity
```
